[Snyk] Fix for 18 vulnerabilities#5240
Conversation
…nerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MULTER-10185673 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6591085 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6670046 - https://snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884 - https://snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6861580 - https://snyk.io/vuln/SNYK-JS-MULTER-10185675 - https://snyk.io/vuln/SNYK-JS-WS-7266574 - https://snyk.io/vuln/SNYK-JS-OCTOKITPLUGINPAGINATEREST-8730855 - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUESTERROR-8730854 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6591084 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6591300 - https://snyk.io/vuln/SNYK-JS-REQUEST-3361831 - https://snyk.io/vuln/SNYK-JS-TAR-6476909 - https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 - https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-7573289 - https://snyk.io/vuln/SNYK-JS-AZUREIDENTITY-7246760 - https://snyk.io/vuln/SNYK-JS-JOSE-6419224
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews. |
Reviewer's GuideUpgrades three Backstage package dependencies in the GitHub catalog backend module to fixed versions to resolve multiple vulnerabilities. Entity Relationship Diagram of Updated Dependencies in
|
| Change | Details | Files |
|---|---|---|
| Updated Backstage dependency versions to fix vulnerabilities |
|
plugins/catalog-backend-module-github/package.json |
Tips and commands
Interacting with Sourcery
- Trigger a new review: Comment
@sourcery-ai reviewon the pull request. - Continue discussions: Reply directly to Sourcery's review comments.
- Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with@sourcery-ai issueto create an issue from it. - Generate a pull request title: Write
@sourcery-aianywhere in the pull
request title to generate a title at any time. You can also comment
@sourcery-ai titleon the pull request to (re-)generate the title at any time. - Generate a pull request summary: Write
@sourcery-ai summaryanywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment@sourcery-ai summaryon the pull request to
(re-)generate the summary at any time. - Generate reviewer's guide: Comment
@sourcery-ai guideon the pull
request to (re-)generate the reviewer's guide at any time. - Resolve all Sourcery comments: Comment
@sourcery-ai resolveon the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore. - Dismiss all Sourcery reviews: Comment
@sourcery-ai dismisson the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment
@sourcery-ai reviewto trigger a new review!
Customizing Your Experience
Access your dashboard to:
- Enable or disable review features such as the Sourcery-generated pull request
summary, the reviewer's guide, and others. - Change the review language.
- Add, remove or edit custom review instructions.
- Adjust other review settings.
Getting Help
- Contact our support team for questions or feedback.
- Visit our documentation for detailed guides and information.
- Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.
⛔ Snyk checks have failed. 1 issues have been found so far.
⛔ security/snyk check is complete. 1 issues have been found. (View Details) 💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
| "@backstage/catalog-model": "0.1.1", | ||
| "@backstage/config": "workspace:^", | ||
| "@backstage/errors": "workspace:^", | ||
| "@backstage/integration": "workspace:^", | ||
| "@backstage/plugin-catalog-backend": "workspace:^", | ||
| "@backstage/plugin-catalog-common": "workspace:^", | ||
| "@backstage/plugin-catalog-backend": "2.0.0", | ||
| "@backstage/plugin-catalog-common": "0.1.0", |
There was a problem hiding this comment.
The version pinning in this PR is concerning. Replacing workspace:^ references with fixed versions (0.1.1, 2.0.0, 0.1.0) appears problematic for several reasons:
- These version numbers are suspiciously low for established Backstage packages
- Pinning to specific versions rather than using workspace references breaks the monorepo dependency management
- This approach may introduce compatibility issues with other Backstage components
Before merging, please verify these versions against the current Backstage release cycle. The warning about failing to update yarn.lock further suggests these dependency changes may not be properly resolved.
Consider addressing the vulnerabilities through proper Backstage package updates rather than pinning to potentially incompatible versions.
| "@backstage/catalog-model": "0.1.1", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/errors": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "workspace:^", | |
| "@backstage/plugin-catalog-common": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "2.0.0", | |
| "@backstage/plugin-catalog-common": "0.1.0", | |
| "@backstage/catalog-model": "workspace:^", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/errors": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "workspace:^", | |
| "@backstage/plugin-catalog-common": "workspace:^", |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Snyk has created this PR to fix 18 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/catalog-backend-module-github/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-MULTER-10185673
SNYK-JS-MYSQL2-6591085
SNYK-JS-MYSQL2-6670046
SNYK-JS-JSONPATHPLUS-7945884
SNYK-JS-JSONPATHPLUS-8719585
SNYK-JS-MYSQL2-6861580
SNYK-JS-MULTER-10185675
SNYK-JS-WS-7266574
SNYK-JS-OCTOKITPLUGINPAGINATEREST-8730855
SNYK-JS-OCTOKITREQUESTERROR-8730854
SNYK-JS-MYSQL2-6591084
SNYK-JS-MYSQL2-6591300
SNYK-JS-REQUEST-3361831
SNYK-JS-TAR-6476909
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-FASTXMLPARSER-7573289
SNYK-JS-AZUREIDENTITY-7246760
SNYK-JS-JOSE-6419224
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Remote Code Execution (RCE)
🦉 More lessons are available in Snyk Learn
Summary by Sourcery
Upgrade specific Backstage dependencies in the GitHub catalog backend module to fixed versions to address Snyk-reported vulnerabilities.
Bug Fixes: